import { RouteRecordRaw } from "vue-router";

export const DashboardBreadcrumb = {
  name: "首页",
  code: "/dashboard",
  i18n: "routes.DASHBOARD",
};
const dashboardRoutes: RouteRecordRaw[] = [
  {
    path: "/dashboard",
    name: "Dashboard",
    component: () => import("@/views/dashboard/dashboard.vue"),
    meta: {
      title: "首页",
      isKeepAlive: true,
      breadcrumbList: [DashboardBreadcrumb],
      icon: "icon-shouye1-copy",
      i18n: "routes.DASHBOARD",
    },
  },
];

export default dashboardRoutes;
